package com.mc.moring.main.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mc.moring.R;
import com.mc.moring.bean.SingleSelectBean;


public class SingleChooseAdapter extends BaseQuickAdapter<SingleSelectBean, BaseViewHolder> {

    public SingleChooseAdapter() {
        super(R.layout.item_single_choose);
    }

    @Override
    protected void convert(BaseViewHolder helper, SingleSelectBean item) {
        helper.addOnClickListener(R.id.ll);
        helper.setText(R.id.tv_1, item.getText());
    }

}
